#!/bin/bash

a=10
b=20

if [ $a -eq $b ]
then
   echo "a等于b"
else
   echo "a不等于b"
fi

if [ $a -ne $b ]
then
   echo "a不等于b"
else
   echo "a等于b"
fi

if [ $a -gt $b ]
then 
   echo "a>b"
else
   echo "a!>b"
fi

if [ $a -lt $b ]
then 
   echo "a<b"
else
   echo "a!<b"
fi

if [ $a -ge $b ]
then
   echo "a>=b"
else
   echo "a!>=b"
fi

if [ $a -le $b ]
then
   echo "a<=b" 
else
   echo "a!<=b"
fi

